package com.woniu.zsd.recycle.service;

import com.woniu.zsd.recycle.model.Complaint;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.zsd.recycle.param.AddComplaintParam;
import com.woniu.zsd.recycle.param.ReplyComplaintParam;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 彭于晏
 * @since 2025年02月18日
 */
public interface ComplaintService extends IService<Complaint> {
    public void addComplaint(AddComplaintParam param)throws Exception;
    public void replyComplaint(ReplyComplaintParam param)throws Exception;
    public List<Complaint> selectComplaintByStationId(Integer stationId)throws Exception;
    public List<Complaint> selectComplaintByUserId(Integer userId)throws Exception;

    public void solveComplaint(Integer complaintId)throws Exception;

    public void cancelComplaint(Integer complaintId)throws Exception;
}
